//
//  tinyDataModel.m
//  TinyFortune
//
//  Created by lc on 16/5/22.
//  Copyright © 2016年 lc. All rights reserved.
//

#import "tinyDataModel.h"

@implementation tinyDataModel

- (instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        //头像
        _icon = dict[@"metaData"][@"iconImage"];
        //名字
        _name = dict[@"metaData"][@"name"];
        
        //时间
        _time = dict[@"metaData"][@"time"];
        //图片
        _photo = dict[@"url"];
        //内容
        _text = dict[@"metaData"][@"Description"];
       
        
    }
    return  self;
}

@end
